<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--[if lt IE 7 ]> <html class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<title>体检预约服务平台 - 医通在线</title>
	<link href="templates/css/global.css" rel="stylesheet" type="text/css" />
	<link href="templates/css/layoutskin.css" rel="stylesheet" type="text/css" />
	<link href="templates/css/agency.css" rel="stylesheet" type="text/css" />
    <script src="templates/js/form.js" type="text/javascript"></script>
    <script src="templates/js/common.js" type="text/javascript"></script>	
    <script src="templates/js/func/qa.js" type="text/javascript"></script>	
    <script language="JavaScript" type="text/javascript" src="templates/js/My97DatePicker/WdatePicker.js"></script>
    <meta content="" name="Keywords">
	<meta name="description" content="" />
</head>
<body>

<!--header st-->
<{include file="../templates/$newtpl/header.html"}>

<div class="row mb10 center_layout fix">
	<{include file="../templates/$newtpl/left.html"}>
	<div class="grid0 grid770">
		<div class="main_con main_nobd">
			<div class="subline subline_2 fix mb10"><h4>我的咨询与投诉</h4>
			</div>
			<div class="mb20">
				<table class="com_table mb10 complaint_table">
					<thead>
						<tr>
							<th width="40">单号</th>
							<th width="80">类型</th>
							<th width="120">主题</th>
							<th width="150">标题</th>
							<th width="150">提交时间</th>
							<th width="150">详情</th>
						</tr>
					</thead>
					<tbody>
					<{if $info|@count neq 0}>
					<{foreach from=$info item=ac_info}>
					
						<tr>
							<td><{$ac_info.complaint_id}></td>
							<td><{if $ac_info.complaint_type==1}>投诉<{/if}><{if $ac_info.complaint_type==2}>咨询<{/if}>
							<{if $ac_info.complaint_member_type==1}><br /><font color=red>(hr发起)</font><{/if}>
							</td>
							<td><{$ac_info.complaint_topic}></td>
							<td><{$ac_info.complaint_title}></td>
							<td><{$ac_info.complaint_addtime}></td>
							<td><{if $ac_info.complaint_ifanswer == 1}>已回复<{else}><font color="red">未回复</font><{/if}>&nbsp;<a href="/index.php?action=complaintinfo&id=<{$ac_info.complaint_id}>">详情</a></td>
						</tr>
						<{/foreach}>
							<{else}>
   <tr ><td bgColor=#ffffff colspan="6" >&nbsp;&nbsp;您尚未发布投诉与咨询信息！</td></tr>
	<{/if}>	
					</tbody>
					<tbody>
					</tbody>
					<tbody>
					</tbody>
				</table>
				<div class="page">
					<{$pagestring}>
				</div>
			</div>
			<div class="con write_box">
				<h5>咨询与投诉区</h5>
				<div class="con1">
					<dl class="fix">
						<dt>选择类型：</dt>
						<dd><label><input name="type" type="radio" class="radiobtnfix" value="2" checked onClick="changelist(2);">
						咨询
						</label>
						  <label><input name="type" type="radio" class="radiobtnfix" value="1"  onClick="changelist(1);">
						  投诉
						  </label>
						</dd>
					</dl>
					<dl class="fix">
						<dt>主&nbsp;&nbsp;&nbsp;&nbsp;题：</dt>
						<dd><select name="topic" id="topic">
						  <option value="">请选择主题分类</option>
						  <{foreach from=$asklist key=key1 item=info}>
						  <option value="<{$key1}>"><{$info}></option>
						   <{/foreach}>
						  
						  </select>&nbsp;&nbsp;<font color="#FF0000">必填</font></dd>
					</dl>
                 <dl class="fix">
						<dt>标&nbsp;&nbsp;&nbsp;&nbsp;题：</dt>
						<dd><input type="text" class="" name="title" id="title" style="width:200px"/>&nbsp;&nbsp;<font color="#FF0000">必填</font>
						</dd>
				</dl>
                 <dl class="fix">
						<dt>发生时间：</dt>
						<dd><input type="text" class="" name="complaint_fstime" id="complaint_fstime" style="width:200px"  onFocus="WdatePicker({lang:'zh-cn'})"/>
						</dd>
					</dl>
					<dl class="fix">
						<dt>内&nbsp;&nbsp;&nbsp;&nbsp;容：</dt>
						<dd>
							<textarea name="content" id="content"></textarea>&nbsp;&nbsp;<font color="#FF0000">必填</font>
						</dd>
					</dl>
					<div class="btn"><a class="btn_tj" href="###" title="提交"></a></div>
				</div>
			</div>
		</div>
	</div>
</div>

<{include file="../templates/$newtpl/foot.html"}>

<div id="dialogSuss" class="div_none">
	<div class="con success">
		<div class="con fix">
			<div class="pic"></div>
			<div class="txt">
				<p>提交成功！</p>
				<p style="font:400 14px '宋体'">我们会在1个工作日内给您回复消息</p>
				<a href="####" class="btn" title="确定" onclick="closeDialog('dialogSuss')"></a>
			</div>
		</div>
	</div>
</div>

<!--脚本如下-->
<script src="templates/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="templates/js/jquery.switchable2.min.js" type="text/javascript"></script>
<script src="templates/js/jquery.layout.js" type="text/javascript"></script>
<script src="templates/js/global.js" type="text/javascript"></script>

<script type="text/javascript">

	$('.btn_tj').click(function () {
	    create_qa();
	});
	
function success(){

		art.dialog({
			id: 'dialogSuss',
			content: document.getElementById('dialogSuss'),
			title: '信息提示',
			skin: "greenbox",
			width: 450,
			opacity: 0.2,
			lock: true,
			padding: 10,
			drag: true,
			resize: false,
			close: function () {
			}
		});
}
	
function closeDialog(dialogId) {
    art.dialog({ id: dialogId }).close();
	window.location.reload();
}
</script>

</body>
</html>